<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<style>
    .div0{
        height: auto;
        width: 100%;
    }
    .div0>div{
        width: 100%;
        text-align: center;
    }
    .div0>div>div{
        padding: 5px 0 5px 0;
    }
    .div0>div>div:hover{
        background-color: rgb(41, 96, 212);
    }
    .div0>div>div>a{
        text-decoration: none;
        position: relative;
        font-size: larger;
        color: black;
        
    }
    .div0>div>div>a:hover{
        color: white;
    }
</style>
<body style="background-color: whitesmoke">
<%
	Object test=null;
	Cookie[]cookies=request.getCookies();
	for(int i=0;cookies!=null&&i<cookies.length;i++)
	{
		if("userbean".equals(cookies[i].getName())){
			test=cookies[i].getValue();
			break;
		}
	}
	if(test==null){
%>
	<jsp:forward page="loginin.jsp"></jsp:forward>
<% return;}%>
    <div class="div0">
        <div>
            <div><a href="../check2.jsp" target="select">查看用户</a></div>
        </div>
        <div>
            <div><a href="../changePassword.jsp" target="select">修改密码</a></div>
        </div>
    </div>
</body>
</html>